package com.xzgj.fmmall.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Product对象",description = "商品信息")
public class Product {
    @ApiModelProperty(dataType = "product_id",required = true,value = "商品id")
    private String product_id;
    @ApiModelProperty(dataType = "product_name",required = true,value = "商品名称")
    private String product_name;
    @ApiModelProperty(dataType = "category_id",required = true,value = "分类id")
    private String category_id;
    @ApiModelProperty(dataType = "root_category_id",required = true,value = "一级分类id")
    private String root_category_id;
    @ApiModelProperty(dataType = "sold_num",required = true,value = "销售量")
    private String sold_num;
    @ApiModelProperty(dataType = "product_status",required = true,value = "商品状态")
    private String product_status;
    @ApiModelProperty(dataType = "content",required = true,value = "商品详情内容")
    private String content;
    @ApiModelProperty(dataType = "create_time",required = true,value = "注册时间")
    private Date create_time;
    @ApiModelProperty(dataType = "update_time",required = true,value = "更新时间")
    private Date update_time;
}
